<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Tetris Game: CGameManager Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Tetris Game
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Test game project created via Irrlicht and Qt</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_c_game_manager.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">CGameManager Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="CGameManager" -->
<p><code>#include &lt;<a class="el" href="_c_game_manager_8h_source.html">CGameManager.h</a>&gt;</code></p>

<p><a href="class_c_game_manager-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a3ff6976be909ffca4924ca0c19b69f23">CGameManager</a> (irr::gui::IGUIEnvironment *guiEnvironment, <a class="el" href="class_c_game_field_manager.html">CGameFieldManager</a> *gameFieldManager, <a class="el" href="class_c_game_figures_factory.html">CGameFiguresFactory</a> *gameFiruresFactory, <a class="el" href="class_c_user_input_event_receiver.html">CUserInputEventReceiver</a> *userInputReceiver, bool twoDimensionalMode, irr::core::vector3df fieldOrigin, irr::core::aabbox3df fieldAABB)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#aac6f02494dc7ea4ed27e762626f560cc">~CGameManager</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#ac240beebb99ce50981ee7d4db4c74dc9">deleteConstuctedLines</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a2c889936fbafdfa47e203d4651483b99">spawnNewFigure</a> (EGF_FIGURE_TYPE figureType, irr::f32 figureSize)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#aafd0d03266c595e47270d053d9724b23">spawnNewFigure</a> (EGF_FIGURE_TYPE figureType)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::f32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#af7105f76d800234cbdb9ba7279b9bb86">getGameSpeed</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a6e78f4d645a7a76ce0f32b2afea28d92">setGameSpeed</a> (irr::f32 newSpeed)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::f32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a3ae546def5b05659b9604d27f33f65c6">getFigureSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a2c213d9a9c4a17ea18cf0af3ec9f192c">setFigureSize</a> (irr::f32 newFigureSize)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::vector3di&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#af295a64173f78d4167900eacbe88ac76">getSpawnPoint</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a3b1da103719b584e113234eac00befd3">setSpawnPoint</a> (irr::core::vector3di newSpawnPoint)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#acb57c88fcabe50fe40fee6b324815d69">getGameScore</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a67a919ef5d542a65aae84699971b076e">setGameScore</a> (irr::u32 newGameScore)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a8ce88a2bcd81b5ca63a056bf115f49af">getTwoDimensionalMode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a79866b4f212814c62e467e0d28e1fc43">setTwoDimensionalMode</a> (bool twoDimensionalMode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a39603a5edda67beabefd5e5893f13e5b">isPause</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a0141a4bb9d60127ff8184d0ae9e3f20d">setPauseValue</a> (bool newPauseValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a0487289fbc33159135772653afe7adf9">isGameOver</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a69696ba28f6f91a0c2cec58a55292f0e">setGameOverValue</a> (bool newGameOverValue)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#adb4a34810119ee4fdf5ff14859b52ba5">calculateGameScore</a> (irr::u32 numberOfDeletedLines)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">irr::core::vector3df&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#ace46a08b24c2347ff5b6aaf069645329">getGridBoxPosition</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_game_manager.html#a98bcc066b78437029878792304e2427f">runOneLoop</a> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Control all game - manage spawning new figures on field, manage game speed, score, end, etc. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3ff6976be909ffca4924ca0c19b69f23"></a><!-- doxytag: member="CGameManager::CGameManager" ref="a3ff6976be909ffca4924ca0c19b69f23" args="(irr::gui::IGUIEnvironment *guiEnvironment, CGameFieldManager *gameFieldManager, CGameFiguresFactory *gameFiruresFactory, CUserInputEventReceiver *userInputReceiver, bool twoDimensionalMode, irr::core::vector3df fieldOrigin, irr::core::aabbox3df fieldAABB)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_game_manager.html#a3ff6976be909ffca4924ca0c19b69f23">CGameManager::CGameManager</a> </td>
          <td>(</td>
          <td class="paramtype">irr::gui::IGUIEnvironment *&#160;</td>
          <td class="paramname"><em>guiEnvironment</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_game_field_manager.html">CGameFieldManager</a> *&#160;</td>
          <td class="paramname"><em>gameFieldManager</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_game_figures_factory.html">CGameFiguresFactory</a> *&#160;</td>
          <td class="paramname"><em>gameFiruresFactory</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_c_user_input_event_receiver.html">CUserInputEventReceiver</a> *&#160;</td>
          <td class="paramname"><em>userInputReceiver</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>twoDimensionalMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::core::vector3df&#160;</td>
          <td class="paramname"><em>fieldOrigin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::core::aabbox3df&#160;</td>
          <td class="paramname"><em>fieldAABB</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">guiEnvironment</td><td>- Irrlicht gui environment </td></tr>
    <tr><td class="paramname">gameFieldManager</td><td>- game field manager </td></tr>
    <tr><td class="paramname">gameFiruresFactory</td><td>- figures factory </td></tr>
    <tr><td class="paramname">userInputReceiver</td><td>- user input receiver </td></tr>
    <tr><td class="paramname">twoDimensionalMode</td><td>- true if game will proceed in two dimensions, false otherwise </td></tr>
    <tr><td class="paramname">fieldOrigin</td><td>- world position of field 0,0,0-coordinates </td></tr>
    <tr><td class="paramname">fieldAABB</td><td>- field axis aligned bounding box, with which all figures will collide </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aac6f02494dc7ea4ed27e762626f560cc"></a><!-- doxytag: member="CGameManager::~CGameManager" ref="aac6f02494dc7ea4ed27e762626f560cc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_c_game_manager.html#aac6f02494dc7ea4ed27e762626f560cc">CGameManager::~CGameManager</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor, not implemented </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adb4a34810119ee4fdf5ff14859b52ba5"></a><!-- doxytag: member="CGameManager::calculateGameScore" ref="adb4a34810119ee4fdf5ff14859b52ba5" args="(irr::u32 numberOfDeletedLines)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::u32 <a class="el" href="class_c_game_manager.html#adb4a34810119ee4fdf5ff14859b52ba5">CGameManager::calculateGameScore</a> </td>
          <td>(</td>
          <td class="paramtype">irr::u32&#160;</td>
          <td class="paramname"><em>numberOfDeletedLines</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Calculates game scrore based on lines to remove and game speed</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">numberOfDeletedLines</td><td>- lines that have been deleted </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>new game score </dd></dl>

</div>
</div>
<a class="anchor" id="ac240beebb99ce50981ee7d4db4c74dc9"></a><!-- doxytag: member="CGameManager::deleteConstuctedLines" ref="ac240beebb99ce50981ee7d4db4c74dc9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::u32 <a class="el" href="class_c_game_manager.html#ac240beebb99ce50981ee7d4db4c74dc9">CGameManager::deleteConstuctedLines</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Deletes already constructed lines This method also affect 3d mode, so its naming is fine</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>number of deleted lines </dd></dl>

</div>
</div>
<a class="anchor" id="a3ae546def5b05659b9604d27f33f65c6"></a><!-- doxytag: member="CGameManager::getFigureSize" ref="a3ae546def5b05659b9604d27f33f65c6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::f32 <a class="el" href="class_c_game_manager.html#a3ae546def5b05659b9604d27f33f65c6">CGameManager::getFigureSize</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>new spawning figures size </dd></dl>

</div>
</div>
<a class="anchor" id="acb57c88fcabe50fe40fee6b324815d69"></a><!-- doxytag: member="CGameManager::getGameScore" ref="acb57c88fcabe50fe40fee6b324815d69" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::u32 <a class="el" href="class_c_game_manager.html#acb57c88fcabe50fe40fee6b324815d69">CGameManager::getGameScore</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>current game score </dd></dl>

</div>
</div>
<a class="anchor" id="af7105f76d800234cbdb9ba7279b9bb86"></a><!-- doxytag: member="CGameManager::getGameSpeed" ref="af7105f76d800234cbdb9ba7279b9bb86" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::f32 <a class="el" href="class_c_game_manager.html#af7105f76d800234cbdb9ba7279b9bb86">CGameManager::getGameSpeed</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>current game speed (delay in milliseconds, between animator steps) </dd></dl>

</div>
</div>
<a class="anchor" id="ace46a08b24c2347ff5b6aaf069645329"></a><!-- doxytag: member="CGameManager::getGridBoxPosition" ref="ace46a08b24c2347ff5b6aaf069645329" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::vector3df <a class="el" href="class_c_game_manager.html#ace46a08b24c2347ff5b6aaf069645329">CGameManager::getGridBoxPosition</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>grid box position </dd></dl>

</div>
</div>
<a class="anchor" id="af295a64173f78d4167900eacbe88ac76"></a><!-- doxytag: member="CGameManager::getSpawnPoint" ref="af295a64173f78d4167900eacbe88ac76" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::core::vector3di <a class="el" href="class_c_game_manager.html#af295a64173f78d4167900eacbe88ac76">CGameManager::getSpawnPoint</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>spawn point of new figures </dd></dl>

</div>
</div>
<a class="anchor" id="a8ce88a2bcd81b5ca63a056bf115f49af"></a><!-- doxytag: member="CGameManager::getTwoDimensionalMode" ref="a8ce88a2bcd81b5ca63a056bf115f49af" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_game_manager.html#a8ce88a2bcd81b5ca63a056bf115f49af">CGameManager::getTwoDimensionalMode</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if game in two dimensional mode </dd></dl>

</div>
</div>
<a class="anchor" id="a0487289fbc33159135772653afe7adf9"></a><!-- doxytag: member="CGameManager::isGameOver" ref="a0487289fbc33159135772653afe7adf9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_game_manager.html#a0487289fbc33159135772653afe7adf9">CGameManager::isGameOver</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if game is over, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a39603a5edda67beabefd5e5893f13e5b"></a><!-- doxytag: member="CGameManager::isPause" ref="a39603a5edda67beabefd5e5893f13e5b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_game_manager.html#a39603a5edda67beabefd5e5893f13e5b">CGameManager::isPause</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Getter</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if game on pause, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="a98bcc066b78437029878792304e2427f"></a><!-- doxytag: member="CGameManager::runOneLoop" ref="a98bcc066b78437029878792304e2427f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_game_manager.html#a98bcc066b78437029878792304e2427f">CGameManager::runOneLoop</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>game loop - delete constructed lines, calculate score, spawn new figure</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if game still proceeds, false if game is over </dd></dl>

</div>
</div>
<a class="anchor" id="a2c213d9a9c4a17ea18cf0af3ec9f192c"></a><!-- doxytag: member="CGameManager::setFigureSize" ref="a2c213d9a9c4a17ea18cf0af3ec9f192c" args="(irr::f32 newFigureSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_game_manager.html#a2c213d9a9c4a17ea18cf0af3ec9f192c">CGameManager::setFigureSize</a> </td>
          <td>(</td>
          <td class="paramtype">irr::f32&#160;</td>
          <td class="paramname"><em>newFigureSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newFigureSize</td><td>- new spawning figures size </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a69696ba28f6f91a0c2cec58a55292f0e"></a><!-- doxytag: member="CGameManager::setGameOverValue" ref="a69696ba28f6f91a0c2cec58a55292f0e" args="(bool newGameOverValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_game_manager.html#a69696ba28f6f91a0c2cec58a55292f0e">CGameManager::setGameOverValue</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newGameOverValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newGameOverValue</td><td>- new game over value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a67a919ef5d542a65aae84699971b076e"></a><!-- doxytag: member="CGameManager::setGameScore" ref="a67a919ef5d542a65aae84699971b076e" args="(irr::u32 newGameScore)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_game_manager.html#a67a919ef5d542a65aae84699971b076e">CGameManager::setGameScore</a> </td>
          <td>(</td>
          <td class="paramtype">irr::u32&#160;</td>
          <td class="paramname"><em>newGameScore</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newGameScore</td><td>- new game scrore value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6e78f4d645a7a76ce0f32b2afea28d92"></a><!-- doxytag: member="CGameManager::setGameSpeed" ref="a6e78f4d645a7a76ce0f32b2afea28d92" args="(irr::f32 newSpeed)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_game_manager.html#a6e78f4d645a7a76ce0f32b2afea28d92">CGameManager::setGameSpeed</a> </td>
          <td>(</td>
          <td class="paramtype">irr::f32&#160;</td>
          <td class="paramname"><em>newSpeed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newSpeed</td><td>- new game speed (delay in milliseconds, between animator steps) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0141a4bb9d60127ff8184d0ae9e3f20d"></a><!-- doxytag: member="CGameManager::setPauseValue" ref="a0141a4bb9d60127ff8184d0ae9e3f20d" args="(bool newPauseValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_game_manager.html#a0141a4bb9d60127ff8184d0ae9e3f20d">CGameManager::setPauseValue</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newPauseValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newPauseValue</td><td>- new pause value </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b1da103719b584e113234eac00befd3"></a><!-- doxytag: member="CGameManager::setSpawnPoint" ref="a3b1da103719b584e113234eac00befd3" args="(irr::core::vector3di newSpawnPoint)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_game_manager.html#a3b1da103719b584e113234eac00befd3">CGameManager::setSpawnPoint</a> </td>
          <td>(</td>
          <td class="paramtype">irr::core::vector3di&#160;</td>
          <td class="paramname"><em>newSpawnPoint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newSpawnPoint</td><td>- new figures spawn point </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a79866b4f212814c62e467e0d28e1fc43"></a><!-- doxytag: member="CGameManager::setTwoDimensionalMode" ref="a79866b4f212814c62e467e0d28e1fc43" args="(bool twoDimensionalMode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_c_game_manager.html#a79866b4f212814c62e467e0d28e1fc43">CGameManager::setTwoDimensionalMode</a> </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>twoDimensionalMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Setter</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">twoDimensionalMode</td><td>- new two dimensional mode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2c889936fbafdfa47e203d4651483b99"></a><!-- doxytag: member="CGameManager::spawnNewFigure" ref="a2c889936fbafdfa47e203d4651483b99" args="(EGF_FIGURE_TYPE figureType, irr::f32 figureSize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_game_manager.html#a2c889936fbafdfa47e203d4651483b99">CGameManager::spawnNewFigure</a> </td>
          <td>(</td>
          <td class="paramtype">EGF_FIGURE_TYPE&#160;</td>
          <td class="paramname"><em>figureType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">irr::f32&#160;</td>
          <td class="paramname"><em>figureSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Spawns new figure on field</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">figureType</td><td>- figure game field type </td></tr>
    <tr><td class="paramname">figureSize</td><td>- figure size </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if figure is spawned, false otherwise </dd></dl>

</div>
</div>
<a class="anchor" id="aafd0d03266c595e47270d053d9724b23"></a><!-- doxytag: member="CGameManager::spawnNewFigure" ref="aafd0d03266c595e47270d053d9724b23" args="(EGF_FIGURE_TYPE figureType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_c_game_manager.html#a2c889936fbafdfa47e203d4651483b99">CGameManager::spawnNewFigure</a> </td>
          <td>(</td>
          <td class="paramtype">EGF_FIGURE_TYPE&#160;</td>
          <td class="paramname"><em>figureType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Spawns new figure on field</p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">figureType</td><td>- figure game field type </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true, if figure is spawned, false otherwise </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/hokan/NetBeansProjects/TetrisGame/headers/<a class="el" href="_c_game_manager_8h_source.html">CGameManager.h</a></li>
<li>/home/hokan/NetBeansProjects/TetrisGame/sources/CGameManager.cpp</li>
</ul>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_c_game_manager.html">CGameManager</a>      </li>

    <li class="footer">Generated on Sun Jul 6 2014 19:35:11 for Tetris Game by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
